package com.undsf.study7816.fatego.po;

/**
 * Created by Arathi on 2017/8/16.
 */
public class Servant {
    public int id;
    public String name;
    public int rank;
    public ServantClass Class;
    public int baseHP;
    public int baseATK;
    public int cost;

    // 保有技能（主动）
    public ActiveSkill skill1;
    public ActiveSkill skill2;
    public ActiveSkill skill3;

    // 职介技能（被动）
    public PassiveSkill pskill1;
    public PassiveSkill pskill2;
    public PassiveSkill pskill3;
    public PassiveSkill pskill4;

    public NoblePhantasm np;   // 宝具

    public int quick;          // 迅捷
    public int acts;           // 技巧
    public int buster;         // 力量

    public String illustrator; // ILLUST
    public String castVoice;   // CV
    public String detail;      // 角色详细
    public String storyPart1;  // 羁绊故事1
    public String storyPart2;  // 羁绊故事2
    public String storyPart3;  // 羁绊故事3
    public String storyPart4;  // 羁绊故事4
    public String storyPart5;  // 羁绊故事5
    public String storyFinal;  // 最终故事

    public String toString() {
        String info = "No." + id + ": " + Class.getName() + " " + name;
        if (Class != ServantClass.GrandCaster) {
            info += " HP: " + baseHP +
                    " ATK: " + baseATK +
                    " Cost: " + cost;
        }
        return info;
    }
}
